//
//  ViewController.m
//  ShenHongTao666
//
//  Created by lanouhn on 16/7/18.
//  Copyright © 2016年 申红涛. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    NSLog(@"晓伟汪汪汪1");
    NSLog(@"晓伟汪汪汪2");
    NSLog(@"晓伟汪汪汪3");
    NSLog(@"晓伟汪汪汪4");
    NSLog(@"晓伟汪汪汪5");
    NSLog(@"晓伟汪汪汪6");
    
    
    /**账号是否为空*/

        UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"友情提示" message:@"您输入账号或密码为空" preferredStyle:(UIAlertControllerStyleAlert)];
        /**确定*/
        [alert addAction:[UIAlertAction actionWithTitle:@"确定" style:(UIAlertActionStyleDefault) handler:^(UIAlertAction * _Nonnull action) {
            
        }]];
        [self presentViewController:alert animated:YES completion:nil];
    
    self.view.backgroundColor = [UIColor colorWithRed:arc4random() % 256 / 255.0 green:arc4random() % 256 / 255.0 blue:arc4random() % 256 / 255.0 alpha:arc4random() % 256 /255.0];

    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
